import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const english: AppRouteModule = {
  path: '/en',
  name: 'English',
  component: LAYOUT,
  redirect: '/en/aboutUs',
  meta: {
    orderNo: 2,
    icon: 'ic:outline-language',
    title: '国际化内容管理',
  },
  children: [
    {
      path: 'aboutUs',
      name: 'AboutPage_en',
      component: () => import('/@/views/aboutUs/index.vue'),
      meta: {
        title: '公司信息配置_en',
        icon: 'material-symbols:category-outline',
        zhCn: 0,
      },
    },
    {
      path: 'homeConfig',
      name: 'HomeConfig_en',
      component: () => import('/@/views/homeConfig/index.vue'),
      meta: {
        title: '首页信息配置_en',
        icon: 'material-symbols:home-and-garden-outline',
        zhCn: 0,
      },
    },
    {
      path: 'productCategory',
      name: 'Category_en',
      component: () => import('/@/views/productCategory/index.vue'),
      meta: {
        title: '材料列表_en',
        icon: 'material-symbols:category-outline',
        zhCn: 0,
      },
    },
    {
      path: 'product',
      name: 'ProductList_en',
      component: () => import('/@/views/product/index.vue'),
      meta: {
        title: '产品列表_en',
        icon: 'icon-park-outline:ad-product',
        zhCn: 0,
      },
    },
  ],
};

export default english;
